package com.ruoyi.course.service;

import java.util.List;

import com.ruoyi.course.domain.CourseStudyRecord;

/**
 * course_recordService接口
 *
 * @author zzx
 * @date 2023-04-05
 */
public interface ICourseStudyRecordService {
    /**
     * 查询course_record
     *
     * @param id course_record主键
     * @return course_record
     */
    public CourseStudyRecord selectCourseStudyRecordById(Long id);

    /**
     * 查询course_record列表
     *
     * @param courseStudyRecord course_record
     * @return course_record集合
     */
    public List<CourseStudyRecord> selectCourseStudyRecordList(CourseStudyRecord courseStudyRecord);

    /**
     * 新增course_record
     *
     * @param courseStudyRecord course_record
     * @return 结果
     */
    public int insertCourseStudyRecord(CourseStudyRecord courseStudyRecord);

    /**
     * 修改course_record
     *
     * @param courseStudyRecord course_record
     * @return 结果
     */
    public int updateCourseStudyRecord(CourseStudyRecord courseStudyRecord);

    /**
     * 批量删除course_record
     *
     * @param ids 需要删除的course_record主键集合
     * @return 结果
     */
    public int deleteCourseStudyRecordByIds(Long[] ids);

    /**
     * 删除course_record信息
     *
     * @param id course_record主键
     * @return 结果
     */
    public int deleteCourseStudyRecordById(Long id);

    CourseStudyRecord selectCourseStudyRecordByAllId(CourseStudyRecord courseStudyRecord);

}
